package com.study.tiger.thread;

import java.util.concurrent.Callable;

/**
 * @Author: liutingting
 * @Date: 2022/6/20 002014:37
 * @Version: 1.0
 */
public class CallableTest implements Callable {

    private String str;

    public CallableTest(String str){
        this.str = str;
    }
    @Override
    public Object call() throws Exception {
        System.out.println("This is " + str);
        return null;
    }
}
